Part Number Hot Search : 
8100K 8C947 2012S 4AHC1 MAX8885 CA239AE 1N4748AG HUKIT30
Product Description
Full Text Search
 

To Download PMODDHB1 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
h set cursor position to ,s save cursor position u restore saved cursor position j clear display and home cursor k erase within line 0 = current position to end of line 1 = start of line to current position 2 = entire line n erase field in current line = number of chars starting at current position @ scroll left columns a scroll right columns * reset; equivalent to cycling power of pmodcls e enable/disable display 0 = display off, backlight off 1 = display on, backlight off 2 = display off, backlight on 3 = display on, backlight on h set display mode 0 = wrap line at 16 characters 1 = wrap line at 40 characters c set cursor mode 0 = cursor off 1 = cursor on, blink off 2 = cursor on, blink on a save twi address in eeprom to b save baud rate value in eeprom to p program character table into lcd
digilent, inc. pmodcls reference manual www.digilentinc.com www.digilentinc.com page 3 of 4 copyright digilent, inc. all rights reserved. other product and company names mentioned may be tradema rks of their respective owners. instruction result t save ram character table to eeprom l load eeprom character table to ram ?;d define user programmable character m save communication mode to eeprom w enable write to eeprom n save cursor mode to eeprom o save display mode to eeprom symbol definition row number (0 - 1) column number (0 ? 39) numeric parameter (decimal, hex, or binary) decimal selection parameter character table selector (0 ? 2 in eeprom, 3 in ram) eeprom before you can store any value to an address in eeprom, writing to eeprom must first be enabled. the command to enable writing to the eeprom must be sent before each successive write to eeprom. if the command to enable writing to the eeprom is not sent before an eeprom-related command, the command will be ignored. custom characters the module can display up to eight custom characters at a time, but is capable of storing four sets of eight characters. this consists of three stored character tables in eeprom and one table loaded into the lcd?s ram. to create a new custom character, send the command (esc)[?;d where is a numeric parameter that describes a row in the character and is a decimal selection parameter (0 through 7.) a custom character definition contains eight rows, so the escape sequence to define one must have eight values followed by the value that specifies the character being defined. to create a new character, first draw out the pattern. then, determine the numerical value of each row in the character. note that the left- most segment is the most significant bit. record each row, from top to bottom, and record which character in the table to save it to. each row of the character contains six pixels, so only the low six bits of each byte value are used. for example, the following character would be saved by writing: lcdchar(0x1b); lcdstring("[14;31;21;31;23;16;31;14;0d"); where lcdchar( ) and lcdstring( ) are functions that write characters and arrays of characters. the above command saves the character to the ?0? address in the lcd?s ram table. to display this character, send the numerical value of the addressed character. in this example, it is performed by writing lcdchar(0x00); the character will appear at the location of the lcd?s cursor.
digilent, inc. pmodcls reference manual www.digilentinc.com www.digilentinc.com page 4 of 4 copyright digilent, inc. all rights reserved. other product and company names mentioned may be tradema rks of their respective owners. connector j1 ? spi communications pin signal description 1 ss/rst slave select 2 mosi master out/slave in data 3 miso master in/ slave out data 4 sck serial clock 5 gnd power supply ground 6 vcc power supply (3.3v) connector j2 ? uart/twi communications pin signal description 1 scl twi clock 2 sda twi data 3 txd uart transmit data 4 rxd uart receive data 5 gnd power supply ground 6 vcc power supply (3.3v) connector j4 & j5 ? twi daisy chain pin signal description 1 scl twi clock 2 sda twi data
  p p m m o o d d c c l l s s ? ? s s e e r r i i a a l l l l c c d d d d i i s s p p l l a a y y m m o o d d u u l l e e r r e e f f e e r r e e n n c c e e m m a a n n u u a a l l ? ww w. d ig i l en t inc .c om revision: december 14, 2007 note: this document applies to rev d-e of the board . 215 e main suite d | pullman, wa 99163 (509) 334 6306 voice and fax doc: 502-092 page 1 of 4 copyright digilent, inc. all rights reserved. other product and company names mentioned may be tradema rks of their respective owners. overview the pmodcls module can be used to display important information during program development or as a user interface after the project has been completed. the module is ideally suited for projects that include a digilent embedded-avr board, but can also be used in projects using a digilent fpga board. the module is capable of executing a variety of instructions, such as erasing specific characters, setting different display modes, scrolling, and displaying user-defined characters. these instructions are specified using escape sequences to send commands to the board?s embedded atmel atmega48 microcontroller. the display on the module is driven by this avr and controls all of the features of the board. functional description communication with the embedded avr on the pmodcls is established using a uart, spi, or twi (phillips i2c compatible) serial connection. characters are written to the display simply by sending characters over the communication link. the characters appear on the display at the current location of the board?s cursor. you set the cursor location, and send other instructions, by sending escape sequences. an escape sequence is specified by first sending the escape character followed by a left square bracket ?[?, zero or more numeric parameters separated by semicolons ?;? followed by the command character for the specific command.. all of the possible instructions are listed in the ?instruction set? section, below. lcd display atmega48 daisy- chain 8 3 ji spi/ isp j2 twi/ uart twi 7.3728mhz crystal data ctl 5v boost regulator 4k flash (internal) 256 eeprom (internal) 512 sram (internal) internal oscillator uart, spi, &twi ports 4 4 2 pmodcls block diagram communication options you can set the board?s communication method by setting the mode jumpers md0, md1, and md2 on the board. possible mode jumper configurations are listed in the table below. for rev d boards, a missing jumper is represented by 0 and a connected jumper is represented by 1. for rev e boards, a missing
digilent, inc. pmodcls reference manual www.digilentinc.com www.digilentinc.com page 2 of 4 copyright digilent, inc. all rights reserved. other product and company names mentioned may be tradema rks of their respective owners. jumper is represented by 1 and a connected jumper is represented by 0. md2, md1, md0 protocol details 0,0,0 uart 2400 baud 0,0,1 uart 4800 baud 0,1,0 uart 9600 baud 0,1,1 uart baud rate in eeprom 1,0,0 twi address: 0x48 1,0,1 twi address in eeprom 1,1,0 spi 1,1,1 specified in eeprom specified in eeprom connector j1 is used for spi communication. connector j2 can either be used for uart or twi communication. connectors j4 and j5 can be used to daisy chain other twi devices. power supply options the module is rated for external power ranging from 2.7 to 5.5 volts dc. using voltage outside this range could damage the pmodcls and connected devices. the pmodcls can be powered through the board?s 6-pin headers j1 or j2, or through connectors j6 or j7. when the module is connected to another digilent microcontroller or fpga board, that board can power the pmodcls through a pmod connector. the host board should be jumpered to provide 3.3v on the vcc pin of the connector being used. the module is then powered by the host board?s power supply. instruction set the pmodcls is capable of executing many different instructions. instructions are sent using escape sequences. an escape sequence begins with the esc character (character code 0x1b or decimal 27), followed by the left square bracket ?[? , followed by 0 or more parameters separated by semicolons ?;? and ending with the command character. command characters are case sensitive. instruction result ;


▲Up To Search▲   

 
Price & Availability of PMODDHB1

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X